package com.yyys.web.service;

import com.yyys.web.json.DRDailyRecommendJson;
import com.yyys.web.json.DRGoods;
import com.yyys.web.json.DRGoodsJson;

import java.util.List;

/**
 * Created by zhengsenwen on 2017/8/12.
 */
public interface DRGoodsInfoService {


    /**
     * 根据日期、餐厅id、分类名、餐别名来获取每一时刻的菜品
     *
     * @param drId
     * @return
     * @throws Exception
     */
    List<DRGoods> getByDateDRClassAndCBName(Integer drId) throws Exception;

    /**
     * 根据日期、餐厅id获取餐厅当天的推荐菜品
     *
     * @param drId
     * @return
     * @throws Exception
     */
    List<DRDailyRecommendJson> getDailyRecommend(Integer drId) throws Exception;

    /**
     * 根据日期、餐厅id、每日推荐标记、食品id来获取菜品详情
     * @param drId
     * @param spId
     * @return
     * @throws Exception
     */
    List<DRGoodsJson> getRecommendGoodBydrIdAndspId(Integer drId, String spId) throws Exception;
}
